package com.itchen.springbootshiro.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "user对象",description = "用户对象user")
public class User {
    @ApiModelProperty(value="用户id",name="id")
    private int id;
    @ApiModelProperty(value="用户名",name="username")
    private String username;
    @ApiModelProperty(value="用户密码",name="password")
    private String password;
    @ApiModelProperty(value="用户角色",name="role")
    private String role;
    @ApiModelProperty(value="用户权限",name="permission")
    private String permission;
    @ApiModelProperty(value="用户状态",name="ban")
    private int ban;

}
